<!DOCTYPE >

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mongo GFS存储上传文件</title>
</head>
<body>

<form action="gridfs_upload_image.php" name="form1" 
method="post" 
enctype="multipart/form-data">

    <input type="file" name="upfile"  />

    <input type="submit" value="上传" />

</form>
</body>
</html>